package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品序列号对象 jt_product_sn
 * 
 * @author Alan Zhang
 * @date 2025-05-22
 */
public class JtProductSn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报告id */
    private Long snId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品序列号 */
    @Excel(name = "产品序列号")
    private String productSn;

    /** 备注 */
    @Excel(name="备注")
    private String remark;

    public void setSnId(Long snId) 
    {
        this.snId = snId;
    }

    public Long getSnId() 
    {
        return snId;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setProductSn(String productSn) 
    {
        this.productSn = productSn;
    }

    public String getProductSn() 
    {
        return productSn;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("snId", getSnId())
            .append("productId", getProductId())
            .append("productSn", getProductSn())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
